gdk: Sanitize GdkContentFormats API
authorBenjamin Otte <otte@redhat.com>
Mon, 20 Nov 2017 03:42:43 +0000 (04:42 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 20 Nov 2017 22:15:11 +0000 (23:15 +0100)
commit1a70ca75e8128cfa4c1a9225301b42b50bdc17bc
tree2022982aeb22f1384199d7c90cea2613d80e8671
parentfc2ce5a9254c7678eaadde35297b8fd90c869bd4
gdk: Sanitize GdkContentFormats API

Make sure the API reflects the idea that GdkContentFormats is a set
containing mime types. In particular, treat the object itself as a
plural - it's named content format`S' after all - and therefor use
the correct verb form.

Also make GdkContentFormats keep an array instead of a list, now that
it's immutable.
13 files changed:
docs/reference/gdk/gdk4-sections.txt
gdk/gdkcontentformats.c
gdk/gdkcontentformats.h
gdk/gdkcontentformatsprivate.h
gdk/wayland/gdkdnd-wayland.c
gdk/wayland/gdkselection-wayland.c
gdk/x11/gdkdnd-x11.c
gtk/gtkclipboard.c
gtk/gtkdnd.c
gtk/gtkdragdest.c
gtk/gtkselection.c
gtk/gtktextview.c
tests/testdnd.c